﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DTO;
using DAL;

namespace BLL
{
	public class LOAITHANHTOANBUS
	{
		public static List<LOAITHANHTOAN> getListLoaiTTs()
		{
			LOAITHANHTOANDAO dao = new LOAITHANHTOANDAO();
			return dao.getListLoaiTTs();
		}

		public static DataTable getListLoaiTT()
		{
			LOAITHANHTOANDAO dao = new LOAITHANHTOANDAO();
			return dao.getListLoaiTT();
		}

		public static bool INSERT(LOAITHANHTOAN loai)
		{
			LOAITHANHTOANDAO dao = new LOAITHANHTOANDAO();
			return dao.INSERT(loai);
		}

		public static bool UPDATE(LOAITHANHTOAN loai)
		{
			LOAITHANHTOANDAO dao = new LOAITHANHTOANDAO();
			return dao.UPDATE(loai);
		}

		public static bool DELETE(LOAITHANHTOAN loai)
		{
			LOAITHANHTOANDAO dao = new LOAITHANHTOANDAO();
			return dao.DELETE(loai);
		}
	}
}
